package com.yc.spring.bean;

import lombok.Data;
import org.springframework.stereotype.Component;

@Component  // 组件注解  ==> @Bean
@Data
public class Weapon {
    private String name = "凸轮月牙铲";
}
